package com.suixinsanren.design.compound.demo01;

public class Quackologist implements Observer {

    @Override
    public void update(QuackObservable observable) {
        System.out.println("鸭子观察者: " + observable + "刚才叫了");
    }

    @Override
    public String toString() {
        return "鸭子观察者";
    }
}
